<LayoutBaseBox>
    <template slot="main">
        <LayoutEditFormBox :loading="!load">
            <template slot="main">

                <el-form ref="editForm" :model="form" label-width="200px" label-position="left">

                    <LayoutCell>
                        <LayoutCellItem title="基本设置">


                            <el-form-item label="类型" prop="type" :rules="{ required: true, message: '类型 不能为空'}">
                                <el-radio-group v-model="form.type">
                                    <el-radio :label="1">阿里</el-radio>
                                    <el-radio :label="2" :disabled="true">腾讯</el-radio>
                                </el-radio-group>
                            </el-form-item>


                            <el-form-item label="Access Key ID" prop="aliyunAccessKeyId"
                                :rules="{ required: true, message: 'Access Key ID 不能为空'}">
                                <el-input v-model="form.aliyunAccessKeyId" :maxlengt="30"></el-input>
                            </el-form-item>


                            <el-form-item label="Access Key Secret" prop="aliyunAccessKeySecret"
                                :rules="{ required: true, message: 'Access Key Secret ID 不能为空'}">
                                <el-input v-model="form.aliyunAccessKeySecret" :maxlengt="30"></el-input>
                            </el-form-item>

                            <el-form-item label="Bucket" prop="aliyunBucketName"
                                :rules="{ required: true, message: 'Bucket 不能为空'}">
                                <el-input v-model="form.aliyunBucketName" :maxlengt="30"></el-input>
                            </el-form-item>


                            <el-form-item label="Endpoint" prop="aliyunEndPoint"
                                :rules="{ required: true, message: 'Endpoint 不能为空'}">
                                <el-input v-model="form.aliyunEndPoint" :maxlengt="30"></el-input>
                            </el-form-item>

                            <el-form-item label="绑定域名" prop="aliyunDomain"
                                :rules="{ required: true, message: '绑定域名 不能为空'}">
                                <el-input v-model="form.aliyunDomain" :maxlengt="30"></el-input>
                            </el-form-item>



                        </LayoutCellItem>

                    </LayoutCell>


                </el-form>
            </template>
            <template slot="footer">
                <el-button type="primary" @click="submit()">确定</el-button>
            </template>
        </LayoutEditFormBox>


    </template>
</LayoutBaseBox>